package model.commands.commandable;

import model.Environment;
import model.commands.Command;


/**
 * Name:
 * PENUP
 * PU
 * 
 * Description:
 * puts pen up such that when the turtle moves, it does not leave a trail
 * returns 0
 * 
 * 
 * @author JLongley
 * @author Erick Gonzalez
 */
public class SetPenUpCommand extends Command {

    @Override
    /**
     * Assumes that Commandable.setPenUp() returns 1 if successful and 0 if failed.
     */
    public int evaluate(Environment e) {
        e.invokeCommandableMethod(Environment.SET_PEN_UP);
        return 0;
    }
}
